const Router = require('koa-router')
const router = new Router()
const Mock = require('mockjs')

const {
  Random
} = Mock

router.get('/movie/list', async (ctx) => {
  ctx.body = Mock.mock([{
    'url': Random.image('250x300', '#FF6600', 'Hello')
  }])
})

module.exports = router